Skip to content

fix: proper unicode support for input handling#5

Merged
64bit merged 1 commit into
64bit:mainfrom
akirco:main
Apr 11, 2026
Merged

fix: proper unicode support for input handling#5
64bit merged 1 commit into
64bit:mainfrom
akirco:main

Conversation

@akirco

@akirco akirco commented Apr 9, 2026

Copy link
Copy Markdown
Contributor
╭ ⌘OK · openrouter(glm-4.5-air) ────────────────────────────────────────────────────────────────────────────────────────╮
│> 模                                                                                                                   │
╰ ↵ thread 'main' (2000005) panicked at src/main.rs:401:43:─────────────────────────────────────────────────────────────╯
                                                           assertion failed: self.is_char_boundary(idx)
                                                                                                       note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
╭ ⌘OK · openrouter(glm-4.5-air) ─────────────────────────────────────────────────────────────────────────────╮
│❱ 你好                                                                                                      │
╰ ↵ submit · ⇧Tab switch · esc cancel ───────────────────────────────────────────────────────────────────────╯

@64bit 64bit left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this, thank you for adding unicode support!

@64bit 64bit merged commit 88f0ac5 into 64bit:main Apr 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants